<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2020/6/23
  Time: 20:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>游戏详情界面</title>
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="../gamedetails/css/gamedetails.css">
</head>
<body class="container">
    <div class="navbar navbar-fixed-top">
        <div class="header-left">
            <img src="https://store.st.dl.pinyuncloud.com/public/shared/images/header/globalheader_logo.png?t=962016" alt="">
            <ul>
                <li><a href="/gamemall.jsp">商店</a></li>
                <li><a href="/comment.html">社区</a></li>
                <li><a href="/person.html">${user.userName}</a></li>
                <li><a href="/friendlist.jsp">好友</a></li>
                <li><a href="/moneydetails.jsp">账户明细</a></li>
            </ul>
        </div>
        <div class="header-right">
            <p>欢迎&nbsp;&nbsp;${user.userName}</p>
        </div>
    </div>
<h3>游戏详情界面</h3>
<div class="container" style="margin-top:100px;">
    <form class="table table-bordered" id = "game" style="background-color: #1B3D53; color: #2D93CA;" action="#" enctype="multipart/form-data">
        <div style="margin-left: 300px">
        <p hidden>游戏id：<input type="text" name="gameId" size="30" value=${game.gameId} disabled></p><br>
        <p>游戏名称：<input type="text" name="gameName" size="30" value=${game.gameName} disabled><a href="/shoppingcar.jsp" class="btnv6_blue_hoverfade  btn btn-primary" style="margin-left: 500px">购物车</a></p><br>
        <p>游戏价格：<input type="text"  onkeyup="clearNoNum(this)" name="gamePrice"  size="10" value=${game.gamePrice} disabled></p><br>
        <p>游戏图片：<img src="${game.gamePicture}" height=100px width=180px ></p><br>
        <p>游戏介绍：<textarea name="gameIntroduction" cols="100" rows="12" wrap="PHYSICAL" style="vertical-align:top;" disabled>${game.gameIntroduction}</textarea></p><br>
        <p><input type="button" class="btnv6_blue_hoverfade  btn btn-primary" style="margin-left: 300px" onclick="addshoppingcar()" value="添加至购物车"></input>
            <input type="button" value="返回" onclick="window.history.back()" class="btnv6_blue_hoverfade  btn btn-primary" style="margin-left: 50px">
        </p>
        </div>
    </form>
    </div>
</div>
</body>
<script src="../jquery/jquery-3.4.1.js"></script>
<script src="../bootstrap/js/bootstrap.min.js"></script>
<script src="../gamedetails/js/gamedetails.js"></script>
</html>
